﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Db8.Data
{
    [Table("ClaimKeywords")]
    public class ClaimKeyword
    {
        [Key]
        [ForeignKey("Claim")]
        [Column(Order = 0)]
        public int ClaimId { get; set; }
        public virtual Claim Claim { get; set; }

        [Key]
        [ForeignKey("Keyword")]
        [Column(Order = 1)]
        public int KeywordId { get; set; }
        public virtual Keyword Keyword { get; set; }

    }
}
